public class Person {
	private String firstname, lastname, job, department, company, address, phone, fax, cellphone, email_addr, homepage;
	
	public Person(String fname, String lname, String ajob,String depart, String acompany, String aaddr, String aphone, String afax, String acellphone, String email, String ahomepage)
	{
		firstname=fname;
		lastname=lname;
		job=ajob;
		department=depart;
		company=acompany;
		address=aaddr;
		phone=aphone;
		fax=afax;
		cellphone=acellphone;
		email_addr=email;
		homepage=ahomepage;
	}
	
	public void setFirstname(String newFname)
	{
		firstname=newFname;
	}
	public void setLastname(String newLname)
	{
		lastname=newLname;
	}
	public void setJob(String newJob)
	{
		job=newJob;
	}
	public void setDepartment(String newDepartment)
	{
		department=newDepartment;
	}
	public void setCompany(String newCompany)
	{
		company=newCompany;
	}
	public void setAddress(String newAddr)
	{
		address=newAddr;
	}
	public void setPhone(String newPhone)
	{
		phone=newPhone;
	}
	public void setFax(String newFax)
	{
		fax=newFax;
	}
	public void setCellphone(String newCellphone)
	{
		cellphone=newCellphone;
	}
	public void setEmailaddr(String newEmail)
	{
		email_addr=newEmail;
	}
	public void setHomepage(String newHomepage)
	{
		homepage=newHomepage;
	}
	
	
	public String getFirstname()
	{
		return firstname;
	}
	public String getLastname()
	{
		return lastname;
	}
	public String getJob()
	{
		return job;
	}
	public String getDepartment()
	{
		return department;
	}
	public String getCompany()
	{
		return company;
	}
	public String getAddress()
	{
		return address;
	}
	public String getPhone()
	{
		return phone;
	}
	public String getFax()
	{
		return fax;
	}
	public String getCellphone()
	{
		return cellphone;
	}
	public String getEmailaddr()
	{
		return email_addr;
	}
	public String getHomepage()
	{
		return homepage;
	}
	
	public String toString()
	{
		return ("성: "+lastname+"\n이름: "+firstname+"\n직책: "+job+"\n부서: "+department+"\n회사 이름: "+company+"\n주소: "+address+"\n전화번호: "+phone+"\n팩스: "+fax+"\n핸드폰 번호: "+cellphone+"\n이메일 주소: "+email_addr+"\n홈페이지: "+homepage);
	}
		
	

}
